#!/bin/sh

case $BLOCK_BUTTON in
    1) xbacklight -inc 20 ;; # left click, high light
    3) xbacklight -dec 20 ;; # right click, low light
    4) xbacklight -inc 20 ;; # scroll up, increase light
    5) xbacklight -dec 20 ;; # scroll down, decrease light
esac
echo -e "<span foreground='#729FCF'>&#xf0eb; </span>"`xbacklight | cut -d'.' -f1`
